package 设计模式.builder.demo01;

//核心：指挥，构建工程
public class Director {
    public Product build(Builer builder) {
        //指挥工人按照顺序建造房子
        builder.buildA();
        builder.buildB();
        builder.buildC();
        builder.buildD();

        return builder.getProduct();
    }
}
